class Student():
    def __init__(self,name,score):
        self.name = name
        self.score = score

    def print_socre(self):
        print('%s:%s'%(self.name,self.score))
bart = Student('xA',100)

bart.print_socre()